package com.lc.cehui.http.response;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class MyMemberShowBean {

    /**
     * code : 200
     * msg : 成功
     * data : {"user":{"nickname":"心动","picurl":"http://www.sinancehui.cn/uploads/20210611/82829fe4117ff73385cfb92a3ca4b949.jpg","mobile":"151****9804","groupid":1,"title":"普通会员"},"agree":{"id":16,"title":"会员协议"},"group":[{"group_id":1,"title":"普通会员","subtitle":"彰显尊贵身份，享受3大权益","power":[{"id":1,"work_type":"企业招聘"},{"id":2,"work_type":"代办管家"},{"id":16,"work_type":"企业资讯"}],"count":3,"package":[{"pack_id":1,"title":"1个月","subtitle":"普通会员套餐推荐","months":1,"price":"120.00"},{"pack_id":2,"title":"连续3个月","subtitle":"普通会员套餐推荐","months":3,"price":"300.00"},{"pack_id":3,"title":"连续包年","subtitle":"普通会员套餐推荐","months":12,"price":"888.00"}]},{"group_id":2,"title":"高级会员","subtitle":"彰显尊贵身份，享受4大权益","power":[{"id":16,"work_type":"企业资讯"},{"id":15,"work_type":"技能培训"},{"id":14,"work_type":"校企合作"},{"id":17,"work_type":"项目对接"}],"count":4,"package":[{"pack_id":4,"title":"1个月","subtitle":"黄金会员套餐推荐","months":1,"price":"130.00"},{"pack_id":5,"title":"连续3个月","subtitle":"黄金会员套餐推荐","months":3,"price":"330.00"},{"pack_id":6,"title":"连续包年","subtitle":"黄金会员套餐推荐","months":12,"price":"1200.00"}]},{"group_id":3,"title":"钻石会员","subtitle":"彰显尊贵身份，享受5大权益","power":[{"id":1,"work_type":"企业招聘"},{"id":2,"work_type":"代办管家"},{"id":16,"work_type":"企业资讯"},{"id":15,"work_type":"技能培训"},{"id":14,"work_type":"校企合作"}],"count":5,"package":[]},{"group_id":4,"title":"黄金会员","subtitle":"彰显尊贵身份，享受全部功能","power":[{"id":1,"work_type":"企业招聘"},{"id":2,"work_type":"代办管家"},{"id":16,"work_type":"企业资讯"},{"id":15,"work_type":"技能培训"},{"id":14,"work_type":"校企合作"},{"id":17,"work_type":"项目对接"},{"id":18,"work_type":"软件销售"},{"id":19,"work_type":"仪器/配件销售"}],"count":8,"package":[]}]}
     */

    private String code;
    private String msg;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * user : {"nickname":"心动","picurl":"http://www.sinancehui.cn/uploads/20210611/82829fe4117ff73385cfb92a3ca4b949.jpg","mobile":"151****9804","groupid":1,"title":"普通会员"}
         * agree : {"id":16,"title":"会员协议"}
         * group : [{"group_id":1,"title":"普通会员","subtitle":"彰显尊贵身份，享受3大权益","power":[{"id":1,"work_type":"企业招聘"},{"id":2,"work_type":"代办管家"},{"id":16,"work_type":"企业资讯"}],"count":3,"package":[{"pack_id":1,"title":"1个月","subtitle":"普通会员套餐推荐","months":1,"price":"120.00"},{"pack_id":2,"title":"连续3个月","subtitle":"普通会员套餐推荐","months":3,"price":"300.00"},{"pack_id":3,"title":"连续包年","subtitle":"普通会员套餐推荐","months":12,"price":"888.00"}]},{"group_id":2,"title":"高级会员","subtitle":"彰显尊贵身份，享受4大权益","power":[{"id":16,"work_type":"企业资讯"},{"id":15,"work_type":"技能培训"},{"id":14,"work_type":"校企合作"},{"id":17,"work_type":"项目对接"}],"count":4,"package":[{"pack_id":4,"title":"1个月","subtitle":"黄金会员套餐推荐","months":1,"price":"130.00"},{"pack_id":5,"title":"连续3个月","subtitle":"黄金会员套餐推荐","months":3,"price":"330.00"},{"pack_id":6,"title":"连续包年","subtitle":"黄金会员套餐推荐","months":12,"price":"1200.00"}]},{"group_id":3,"title":"钻石会员","subtitle":"彰显尊贵身份，享受5大权益","power":[{"id":1,"work_type":"企业招聘"},{"id":2,"work_type":"代办管家"},{"id":16,"work_type":"企业资讯"},{"id":15,"work_type":"技能培训"},{"id":14,"work_type":"校企合作"}],"count":5,"package":[]},{"group_id":4,"title":"黄金会员","subtitle":"彰显尊贵身份，享受全部功能","power":[{"id":1,"work_type":"企业招聘"},{"id":2,"work_type":"代办管家"},{"id":16,"work_type":"企业资讯"},{"id":15,"work_type":"技能培训"},{"id":14,"work_type":"校企合作"},{"id":17,"work_type":"项目对接"},{"id":18,"work_type":"软件销售"},{"id":19,"work_type":"仪器/配件销售"}],"count":8,"package":[]}]
         */

        private UserBean user;
        private AgreeBean agree;
        private List<GroupBean> group;

        public UserBean getUser() {
            return user;
        }

        public void setUser(UserBean user) {
            this.user = user;
        }

        public AgreeBean getAgree() {
            return agree;
        }

        public void setAgree(AgreeBean agree) {
            this.agree = agree;
        }

        public List<GroupBean> getGroup() {
            return group;
        }

        public void setGroup(List<GroupBean> group) {
            this.group = group;
        }

        public static class UserBean {
            /**
             * nickname : 心动
             * picurl : http://www.sinancehui.cn/uploads/20210611/82829fe4117ff73385cfb92a3ca4b949.jpg
             * mobile : 151****9804
             * groupid : 1
             * title : 普通会员
             */

            private String nickname;
            private String picurl;
            private String mobile;
            private Integer groupid;
            private String title;

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public String getPicurl() {
                return picurl;
            }

            public void setPicurl(String picurl) {
                this.picurl = picurl;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public Integer getGroupid() {
                return groupid;
            }

            public void setGroupid(Integer groupid) {
                this.groupid = groupid;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }
        }

        public static class AgreeBean {
            /**
             * id : 16
             * title : 会员协议
             */

            private Integer id;
            private String title;

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }
        }

        public static class GroupBean {
            /**
             * group_id : 1
             * title : 普通会员
             * subtitle : 彰显尊贵身份，享受3大权益
             * power : [{"id":1,"work_type":"企业招聘"},{"id":2,"work_type":"代办管家"},{"id":16,"work_type":"企业资讯"}]
             * count : 3
             * package : [{"pack_id":1,"title":"1个月","subtitle":"普通会员套餐推荐","months":1,"price":"120.00"},{"pack_id":2,"title":"连续3个月","subtitle":"普通会员套餐推荐","months":3,"price":"300.00"},{"pack_id":3,"title":"连续包年","subtitle":"普通会员套餐推荐","months":12,"price":"888.00"}]
             */

            private Integer group_id;
            private String title;
            private String subtitle;
            private Integer count;
            private String price;
            private List<PowerBean> power;
            @SerializedName("package")
            private List<PackageBean> packageX;

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public Integer getGroup_id() {
                return group_id;
            }

            public void setGroup_id(Integer group_id) {
                this.group_id = group_id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getSubtitle() {
                return subtitle;
            }

            public void setSubtitle(String subtitle) {
                this.subtitle = subtitle;
            }

            public Integer getCount() {
                return count;
            }

            public void setCount(Integer count) {
                this.count = count;
            }

            public List<PowerBean> getPower() {
                return power;
            }

            public void setPower(List<PowerBean> power) {
                this.power = power;
            }

            public List<PackageBean> getPackageX() {
                return packageX;
            }

            public void setPackageX(List<PackageBean> packageX) {
                this.packageX = packageX;
            }

            public static class PowerBean {
                /**
                 * id : 1
                 * work_type : 企业招聘
                 */

                private Integer id;
                private String  picurl;
                private String work_type;

                public String getPicurl() {
                    return picurl;
                }

                public void setPicurl(String picurl) {
                    this.picurl = picurl;
                }

                public Integer getId() {
                    return id;
                }

                public void setId(Integer id) {
                    this.id = id;
                }

                public String getWork_type() {
                    return work_type;
                }

                public void setWork_type(String work_type) {
                    this.work_type = work_type;
                }
            }

            public static class PackageBean {
                /**
                 * pack_id : 1
                 * title : 1个月
                 * subtitle : 普通会员套餐推荐
                 * months : 1
                 * price : 120.00
                 */
               private boolean isGrop;
                private Integer pack_id;
                private String title;
                private String subtitle;
                private Integer months;
                private String price;

                public boolean isGrop() {
                    return isGrop;
                }

                public void setGrop(boolean grop) {
                    isGrop = grop;
                }

                public Integer getPack_id() {
                    return pack_id;
                }

                public void setPack_id(Integer pack_id) {
                    this.pack_id = pack_id;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }

                public String getSubtitle() {
                    return subtitle;
                }

                public void setSubtitle(String subtitle) {
                    this.subtitle = subtitle;
                }

                public Integer getMonths() {
                    return months;
                }

                public void setMonths(Integer months) {
                    this.months = months;
                }

                public String getPrice() {
                    return price;
                }

                public void setPrice(String price) {
                    this.price = price;
                }
            }
        }
    }
}
